//app.js
App({
  onLaunch: function () {
  
  },
  onShow:function(options){

  },
  onHide: function() {
  },
  onError: function(msg) {

  },
  //options(path,query,isEntryPage)
  onPageNotFound: function(options) {

  },
  globalData: {
    userInfo: null
  }
})